<?php self::link_third_script('My97DatePicker/WdatePicker'); ?>
<?php self::link_third_style('My97DatePicker/skin/WdatePicker'); ?>
<?php self::link_pjs('city'); ?>

<table class="table1_found" border="0" cellpadding="0" cellspacing="0" width="634">
	<tbody>
		<tr>
			<th><span>*</span><font id="Lusername">姓名</font></th>
			<td colspan="3"><input name="username" class="frame7" value="<?php if (isset($_user_info)): echo $_user_info->username; endif; ?>" id="username"></td>
		</tr>
		<tr>
			<th></th>
			<td colspan="3">
				<span style="display: none;" class="org12 formError" id="conError_username"></span>
			</td>
		</tr>
		<tr>
			<th><span>*</span><font id="Lgender">性别</font></th>
			<td colspan="3">
				<?php foreach (user_info_model::$gender as $key => $value): ?>
					<input name="gender" value="<?php echo $key; ?>" <?php if (isset($_user_info) && (int)$_user_info->gender === $key): echo 'checked="checked"'; endif; ?> type="radio"><?php echo $value; ?>
				<?php endforeach; ?>
			</td>
		</tr>
		<tr>
			<th><span>*</span><font id="Lbirth_date_y">出生日期</font></th>
			<td colspan="3">
				<input type="text" class="frame7 Wdate" onClick="WdatePicker()" name="birthday" value="<?php if (isset($_user_info)): echo date('Y-m-d', $_user_info->birthday); endif; ?>" />
			</td>
		</tr>
		<tr>
			<th></th>
			<td colspan="3">
				<span style="display: none;" class="org12 formError" id="conError_birthday"></span>
			</td>
		</tr>
		<tr>
			<th><span>*</span><font id="LexpeButton">参加工作年份</font></th>
			<td colspan="3">
				<input type="text" class="frame7 Wdate" onClick="WdatePicker()" name="experience" value="<?php if (isset($_user_info)): echo date('Y-m-d', $_user_info->experience); endif; ?>" />
			</td>
		</tr>
		<tr>
			<th></th>
			<td colspan="3">
				<span style="display: none;" class="org12 formError" id="conError_experience"></span>
			</td>
		</tr>
	<tr>
		<th width="140"><span>*</span><font id="Lmarital">婚姻状况</font></th>
		<td width="200">
			<?php foreach (user_info_model::$marital as $key => $value): ?>
				<input name="marital" value="<?php echo $key ?>" type="Radio"><?php echo $value; ?>
			<?php endforeach; ?>
		</td>
		</td>
	</tr>
	<tr>
		<td></td>
		<td></td>
		<td></td>
		<td><span style="display: none;" class="org12 formError" id="txtError_nationality"></span></td>
	</tr>
	<tr>
		<th><span>*</span><font id="Lid_type">证件类型</font></th>
		<td>
			<input type="hidden" name="id_type" value="<?php if (isset($_user_info)): echo $_user_info->id_type; endif; ?>" />
			<select class=" classFormEle_ok" name="id_type">
				<?php foreach (user_info_model::$id_type as $key => $value): ?>
					<option value="<?php echo $key; ?>" <?php if (isset($_user_info) && (int)$_user_info->id_type === $key): echo 'selected=selected'; endif; ?>><?php echo $value; ?></option>
				<?php endforeach; ?>
			</select>
		</td>
		<th><span>*</span><font id="Lid_number">证件号码</font></th>
		<td><input name="id_number" class="frame7" value="<?php if (isset($_user_info)): echo $_user_info->id_number; endif; ?>" type="text"></td>
	</tr>
	<tr>
		<td></td>
		<td></td>
		<td></td>
		<td><span id="conError_id_number" style="display:none;" class="org12 formError"></span></td>
	</tr>
	<tr>
		<th>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;政治面貌</th>
		<td colspan="3">
			<?php foreach (user_info_model::$political_status as $key => $value): ?>
				<input name="political_status" value="<?php echo $key; ?>" <?php if (isset($_user_info) && (int)$_user_info->political_status === $key): ?>checked="checked"<?php endif; ?> type="Radio"><?php echo $value; ?>
			<?php endforeach; ?>
		</td>
	</tr>
	<tr>
		<th><span>*</span><font id="LhukouF_button">户口所在地</font></th>
		<td colspan="3">
			<input type="hidden" name="user_resident_province" value="<?php if (isset($_user_info)): echo $_user_info->resident_province; endif; ?>" />
			<select id="resident_province" name="resident_province">
				<option value="0">省份</option>
			</select>
			&nbsp;&nbsp;
			<input type="hidden" name="user_resident_city" value="<?php if (isset($_user_info)): echo $_user_info->resident_city; endif; ?>" />
			<select id="resident_city" name="resident_city">
				<option value="0">城市</option>
			</select>
		</td>
	</tr>
	<tr id="conError_hukou" style="display:none;">
		<td></td>
		<td class="org12 formError" colspan="3" id="txtError_hukou"></td>
	</tr>
	<tr>
		<th><span>*</span><font id="LresidenceF_button">现居住城市</font></th>
		<td colspan="3">
			<input type="hidden" name="user_live_province" value="<?php if (isset($_user_info)): echo $_user_info->live_province; endif; ?>" />
			<select id="live_province" name="live_province">
				<option value="0">省份</option>
			</select>
			&nbsp;&nbsp;
			<input type="hidden" name="user_live_city" value="<?php if (isset($_user_info)): echo $_user_info->live_city; endif; ?>" />
			<select id="live_city" name="live_city">
				<option value="0">城市</option>
			</select>
		</td>
	</tr>
	<tr id="conError_residence" style="display:none;">
		<td></td>
		<td class="org12 formError" colspan="3" id="txtError_residence"></td>
	</tr>
	<tr>
		<th>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;通信地址</th>
		<td><input name="address" class="frame7" value="<?php if (isset($_user_info)): echo $_user_info->address; endif; ?>" id="address" mzpmodule="resumeChEnFac" tiptext="" type="text" lang="en"></td>
		<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;邮政编码</td>
		<td><input name="postal_code" class="frame7" value="<?php if (isset($_user_info)): echo $_user_info->postal_code ?: ''; endif; ?>" type="text"></td>
	</tr>
	<tr>
		<td></td>
		<td><span id="conError_address" style="display:none;" class="org12 formError"></span></td>
		<td></td>
		<td><span id="conError_postal_code" style="display:none;" class="org12 formError"></span></td>
	</tr>
	<tr>
		<th><span>*</span><font id="Lcontact_num0">联系方式</font></th>
		<td colspan="3">
			<select name="contact_type">
				<?php foreach (user_info_model::$contact_type as $key => $value): ?>
					<option value="<?php echo $key; ?>" <?php if (isset($_user_info) && (int)$_user_info->contact_type === $key): echo 'selected=selected'; endif; ?>><?php echo $value; ?></option>
				<?php endforeach; ?>
			</select>
			<input name="contact_num" id="contact_num" class="frame6 classFormEle_ok" value="<?php if (isset($_user_info)): echo $_user_info->contact_number; endif; ?>" type="text">
	</tr>
	<tr>
		<td></td>
		<td colspan="3"><span id="conError_contact_num" style="display:none;" class="org12 formError"></span></td>
	</tr>
	<tr>
		<th><span>*</span><font id="Lemail">电子邮箱</font></th>
		<td colspan="3">
			<input name="email" value="<?php echo $_email; ?>" disabled="disabled" class="frame5 classFormEle_ok" type="text">
			<a href="javascript:void(0);" class="blue12line">修改</a>
			<input id="BuEmailCheck" name="BuEmailCheck" value="检查E-mail是否可用" type="button" style="display: none;"></td>
	</tr>
	<tr>
		<td></td>
		<td colspan="3"><span id="conError_email" style="display:none;" class="org12 formError"></span></td>
	</tr>
	<tr>
		<th>&nbsp;</th>
		<td colspan="3"><em>提示：修改了该地址不会改变您的登录用户名，此邮箱是用来接受HR方的来信，包括取回密码</em></td>
	</tr>
	<tr>
		<th>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;个人主页/博客</th>
		<td colspan="3"><input name="homepage" value="<?php if (isset($_user_info)): echo $_user_info->homepage; endif; ?>" class="frame5" type="text"></td>
	</tr>
	<input type="hidden" name="user_info_id" value="<?php if (isset($_user_info)): echo $_user_info->id; endif; ?>" />
<!--	<tr>
		<th>&nbsp;</th>
		<td colspan="3" style="padding:18px 0 24px 0"><input name="save" class="btn7" id="save" value="保 存" type="submit">&nbsp;&nbsp;<a href="<?php self::php_url('my-user/index'); ?>">返回我的智联</a></td>
	</tr>-->
	</tbody>
</table>